package aop_anno;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;

@Aspect

public class LoggingAfterAdvice {
	@After("execution(* sayHelloAfter())")
	public Object logAfter(JoinPoint point) throws Throwable{
		String methodName = point.getSignature().getName();
		
		System.out.println(methodName + " is called After");
		
		return null;
		
	}
}
